{% extends 'base.html' %}
{% block content %}
    <div class="container">
        <div class="row">
              {% for x in api %}
            <div class="col-sm">
                <div class="card" style="width: 18rem;">
                    <img class="card-img-top" src="{{ x.avatar_url }}" alt="Card image cap">
                    <div class="card-body">
                    <h5 class="card-title">{{ x.login }}</h5>
                    <p class="card-text">{{ x.login }}的Github</p>
                    <a href="{{ x.html_url }}" class="btn btn-primary">访问 {{ x.login }}</a>
                    </div>
                </div>
                    <br>
            </div>
                {% endfor %}
        </div>
    </div>


{% endblock %}

